package com.ruoyi.schoolSys.mapper;

import java.util.List;
import com.ruoyi.schoolSys.domain.TeacherAttendance;
import com.ruoyi.schoolSys.model.vo.TeacherAttendanceVo;

/**
 * 老师签到Mapper接口
 * 
 * @author ruoyi
 * @date 2024-02-21
 */
public interface TeacherAttendanceMapper 
{
    /**
     * 查询老师签到
     * 
     * @param id 老师签到主键
     * @return 老师签到
     */
    public TeacherAttendanceVo selectTeacherAttendanceById(Long id);

    /**
     * 查询老师签到列表
     * 
     * @param teacherAttendance 老师签到
     * @return 老师签到集合
     */
    public List<TeacherAttendance> selectTeacherAttendanceList(TeacherAttendance teacherAttendance);

    /**
     * 新增老师签到
     * 
     * @param teacherAttendance 老师签到
     * @return 结果
     */
    public int insertTeacherAttendance(TeacherAttendance teacherAttendance);

    /**
     * 修改老师签到
     * 
     * @param teacherAttendance 老师签到
     * @return 结果
     */
    public int updateTeacherAttendance(TeacherAttendance teacherAttendance);

    /**
     * 删除老师签到
     * 
     * @param id 老师签到主键
     * @return 结果
     */
    public int deleteTeacherAttendanceById(Long id);

    /**
     * 批量删除老师签到
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeacherAttendanceByIds(Long[] ids);
}
